<extend name="Public/located_base" />
<block name="body">
<div class="container">
    <div class="row ruzhu3 ruzhu">
      <div class="col-xs-12">
        <div class="heads">
          <ul class="after">
            <li>
              <div class="txt">入驻须知</div>
              <p class="block"></p>
              <div class="img"><span class="has">1</span></div>
            </li>
            <li class="">
              <div class="txt">商家认证</div>
              <p class="block"></p>
              <div class="img"><span class="has">2</span></div>
            </li>
            <li>
              <div class="txt">商家信息</div>
              <p class="block"></p>
              <div class="img"><span class="has">3</span></div>
            </li>
            <li>
              <div class="txt current">审核结果</div>
              <p class="block"></p>
              <div class="img"><span>4</span></div>
            </li>
          </ul>
          <div class="line"></div>
        </div>

        <div class="contentbox">
            <div class="title">
            <switch name="data.status">
               <case value="1">
               <div class="title">已经提交，请等待管理员核对后为您开通店铺</div>
               </case>
               <case value="3">
               <div class="title">审核失败：{$data['joinin_message']}</div>
               <div class="btnbox">
                    <button class="btn btn-block btn-positive" id="J_error_next">下一步</button>
                </div>
               </case>
               
               <case value="6">
               <div class="title">审核成功，管理员已为您开通店铺</div>
               <div class="btnbox">
                    <button class="btn btn-block btn-positive" id="J_success_next">下一步</button>
                </div>
               </case>
            </switch>
            </div>
        </div>
      </div>

    </div>
  </div>
  <script type="text/javascript">
    seajs.use(['jquery'], function($){
        $('#J_error_next').on('click',function(){
            window.location.href="{:U('step1')}";
        });
        
        $('#J_success_next').on('click',function(){
            window.location.href="{:U('Shop/Store/login')}";
        });
    });
  </script>
</block>